home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 23
/
AACD 23.iso
/
AACD
/
Programming
/
tek
/
array
/
strcopy.c
< prev
next >
Wrap
C/C++ Source or Header
|
2001-05-12
|
279b
|
22 lines
#include "tek/array.h"
/*
** TEKlib
** (C) 2001 TEK neoscientists
** all rights reserved.
**
** TVOID TStrCopy(TSTRPTR source, TSTRPTR dest)
**
** copy string.
**
*/
TVOID TStrCopy(TSTRPTR source, TSTRPTR dest)
{
if (source && dest)
{
while ((*dest++ = *source++));
}
}